package com.ruoyi.project.stop.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 报警历史记录单据对象 warn_history
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public class WarnHistoryVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 船舶id */
    @Excel(name = "船舶id")
    private Long shipId;

    /** 报警类型  0 ：温度报警   5：压强报警 */
    @Excel(name = "报警类型  0 ：温度报警   5：压强报警")
    private Long warnType;

    /** 输油臂号 */
    @Excel(name = "输油臂号")
    private Long armNum;
    /** 报警数值 */
    @Excel(name = "报警数值")
    private BigDecimal warnNum;

    /** 报警详细信息 */
    @Excel(name = "报警详细信息")
    private String warnDetail;

    /** 是否忽略  0 ：未忽略   1：忽略 */
    @Excel(name = "是否忽略  0 ：未忽略   1：忽略")
    private Long warnDel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setShipId(Long shipId)
    {
        this.shipId = shipId;
    }

    public Long getShipId()
    {
        return shipId;
    }

    public void setWarnType(Long warnType)
    {
        this.warnType = warnType;
    }

    public Long getWarnType()
    {
        return warnType;
    }

    public void setWarnNum(BigDecimal warnNum)
    {
        this.warnNum = warnNum;
    }

    public BigDecimal getWarnNum()
    {
        return warnNum;
    }

    public void setWarnDetail(String warnDetail)
    {
        this.warnDetail = warnDetail;
    }

    public String getWarnDetail()
    {
        return warnDetail;
    }

    public void setWarnDel(Long warnDel)
    {
        this.warnDel = warnDel;
    }

    public Long getWarnDel()
    {
        return warnDel;
    }

    public Long getArmNum() {
        return armNum;
    }

    public void setArmNum(Long armNum) {
        this.armNum = armNum;
    }

    @Override
    public String toString() {
        return "WarnHistory{" +
                "id=" + id +
                ", shipId=" + shipId +
                ", warnType=" + warnType +
                ", armNum=" + armNum +
                ", warnNum=" + warnNum +
                ", warnDetail='" + warnDetail + '\'' +
                ", warnDel=" + warnDel +
                '}';
    }
}
